package com.system.user.service;

import com.system.user.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by nipin on 16/12/15.
 */
@Service
public interface IUserService {

    int insert(User user);

    int delete(long id);

    int update(User user);

    List<User> query();

    List<User> query(User user,int page,int size);

    User login(User user);






}
